# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `tx_update.ice'

import Ice, IcePy, __builtin__

# Start of module AcornTxUpdate
_M_AcornTxUpdate = Ice.openModule('AcornTxUpdate')
__name__ = 'AcornTxUpdate'

if not _M_AcornTxUpdate.__dict__.has_key('TxUpdate'):
    _M_AcornTxUpdate.TxUpdate = Ice.createTempClass()
    class TxUpdate(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornTxUpdate.TxUpdate:
                raise RuntimeError('AcornTxUpdate.TxUpdate is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornTxUpdate::TxUpdate', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornTxUpdate::TxUpdate'

        def ice_staticId():
            return '::AcornTxUpdate::TxUpdate'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def freqUpdate(self, freq, current=None):
        # def oscUpdate(self, freq, current=None):
        # def modeUpdate(self, mode, current=None):
        # def filterUpdate(self, filter, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornTxUpdate._t_TxUpdate)

        __repr__ = __str__

    _M_AcornTxUpdate.TxUpdatePrx = Ice.createTempClass()
    class TxUpdatePrx(Ice.ObjectPrx):

        def freqUpdate(self, freq, _ctx=None):
            return _M_AcornTxUpdate.TxUpdate._op_freqUpdate.invoke(self, ((freq, ), _ctx))

        def oscUpdate(self, freq, _ctx=None):
            return _M_AcornTxUpdate.TxUpdate._op_oscUpdate.invoke(self, ((freq, ), _ctx))

        def modeUpdate(self, mode, _ctx=None):
            return _M_AcornTxUpdate.TxUpdate._op_modeUpdate.invoke(self, ((mode, ), _ctx))

        def filterUpdate(self, filter, _ctx=None):
            return _M_AcornTxUpdate.TxUpdate._op_filterUpdate.invoke(self, ((filter, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornTxUpdate.TxUpdatePrx.ice_checkedCast(proxy, '::AcornTxUpdate::TxUpdate', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornTxUpdate.TxUpdatePrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornTxUpdate._t_TxUpdatePrx = IcePy.defineProxy('::AcornTxUpdate::TxUpdate', TxUpdatePrx)

    _M_AcornTxUpdate._t_TxUpdate = IcePy.defineClass('::AcornTxUpdate::TxUpdate', TxUpdate, (), True, None, (), ())
    TxUpdate.ice_type = _M_AcornTxUpdate._t_TxUpdate

    TxUpdate._op_freqUpdate = IcePy.Operation('freqUpdate', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    TxUpdate._op_oscUpdate = IcePy.Operation('oscUpdate', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    TxUpdate._op_modeUpdate = IcePy.Operation('modeUpdate', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())
    TxUpdate._op_filterUpdate = IcePy.Operation('filterUpdate', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())

    _M_AcornTxUpdate.TxUpdate = TxUpdate
    del TxUpdate

    _M_AcornTxUpdate.TxUpdatePrx = TxUpdatePrx
    del TxUpdatePrx

if not _M_AcornTxUpdate.__dict__.has_key('TxConfig'):
    _M_AcornTxUpdate.TxConfig = Ice.createTempClass()
    class TxConfig(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornTxUpdate.TxConfig:
                raise RuntimeError('AcornTxUpdate.TxConfig is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornTxUpdate::TxConfig', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornTxUpdate::TxConfig'

        def ice_staticId():
            return '::AcornTxUpdate::TxConfig'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def configUpdate(self, name, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornTxUpdate._t_TxConfig)

        __repr__ = __str__

    _M_AcornTxUpdate.TxConfigPrx = Ice.createTempClass()
    class TxConfigPrx(Ice.ObjectPrx):

        def configUpdate(self, name, _ctx=None):
            return _M_AcornTxUpdate.TxConfig._op_configUpdate.invoke(self, ((name, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornTxUpdate.TxConfigPrx.ice_checkedCast(proxy, '::AcornTxUpdate::TxConfig', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornTxUpdate.TxConfigPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornTxUpdate._t_TxConfigPrx = IcePy.defineProxy('::AcornTxUpdate::TxConfig', TxConfigPrx)

    _M_AcornTxUpdate._t_TxConfig = IcePy.defineClass('::AcornTxUpdate::TxConfig', TxConfig, (), True, None, (), ())
    TxConfig.ice_type = _M_AcornTxUpdate._t_TxConfig

    TxConfig._op_configUpdate = IcePy.Operation('configUpdate', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_string),), (), None, ())

    _M_AcornTxUpdate.TxConfig = TxConfig
    del TxConfig

    _M_AcornTxUpdate.TxConfigPrx = TxConfigPrx
    del TxConfigPrx

# End of module AcornTxUpdate
